package com.minis.beans.factory;

import com.minis.BeansException;
import com.minis.beans.config.BeanDefinition;

/**
 * @author chao
 */
public interface BeanFactory {
    Object getBean(String beanName) throws BeansException;
    boolean containsBean(String name);

    boolean isSingleton(String name);

    boolean isPrototype(String name);

    Class<?> getType(String name);
}
